<div id="cForm" class="blockstyle form">
	
	<?php echo form_open($this->curl.'blog/view/'.$br_id, 'id="myform" name="myform" autocomplete="off"')?>
		<?php echo $this->validation->error_string?>
	
		<div id="cAuthor" class="formElement">
			<div class="blue formText"><?php echo $this->comment_model->fields['author']; ?></div>
			<?php echo form_input('author', $this->validation->author, 'class="formInput" style="width: 200px"')?>
		</div>
		<div id="cEMail" class="formElement">
			<div class="blue formText"><?php echo $this->comment_model->fields['email']; ?></div>
			<?php echo form_input('email', $this->validation->email, 'class="formInput" style="width: 200px"')?>
		</div>
		<div id="cText" class="formElement">
			<div class="blue formText"><?php echo $this->comment_model->fields['text']; ?></div>
			<?php echo form_textarea('text', $this->validation->text, 'id="cTextArea" class="formInput"')?>   
	    </div>
	    <div class="formElement" id="captcha">
            <img class="captcha" src="<?= rtrim(site_url(''), '/').'/captcha/image/'.set_value('captcha_id', $this->session->userdata('session_id'));?>" alt="captcha"  style =" margin :10px "/><br />
    		<input name="captcha_id" value="<?= set_value('captcha_id', set_value('captcha_id', $this->session->userdata('session_id')));?>" type="hidden" />    				
         	<?php echo form_input('captcha_code', '', 'class="input-text formInput" style="width: auto;"')?>
        </div>        
		<input type="submit" value="<?php echo T_('POST A COMMENT'); ?>" name="comment" id="postComment" class="red buttonStyle"/>
	<?php echo form_close()?> 
</div>